package com.allwees.bs.module.oms.rest;

import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.oms.req.OrderRefundAuditReq;
import com.allwees.bs.module.oms.service.PlatformOrderRefundService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 平台 订单 退货
 *
 * @author mouhaining
 * @since 2020-03-02 16:53
 */
@RestController
@RequestMapping("/backstage/api/oms/order_refund/platform")
public class PlatformOrderRefundApi extends BaseOrderRefundApi<PlatformOrderRefundService> {

    @PostMapping("/audit")
    public R audit(@RequestBody OrderRefundAuditReq req) {
        boService.audit(req);
        return R.ok();
    }
}
